<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新浪导航</title>
    <style>
        div {
            height: 41px;
            background-color: #fcfcfc;
            border-top: 3px solid #FF8500;
            border-bottom: 1px solid #edeef0;
            /* line-hegint :行高总高 */
            line-height: 41px;
        }

        div a {
            /* a属于行内元素 此时必须要转换 行内块元素 */
            display: inline-block;
            height: 41px;
            padding: 0 20px;
            font-size: 12px;
            color: #4c4c4c;
            text-decoration: none;
        }

        a:hover {
            background-color: #eee;
            color: #ff8500;
        }
    </style>
</head>
<body>
<div>
    <a href="#">设为首页</a>
    <a href="#">手机新浪网</a>
    <a href="#">移动客服端</a>
    <a href="#">博客</a>
    <a href="#">微博</a>
    <a href="#">关注我</a>
</div>
</body>
</html>